Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the dataloader mask #216

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Remove the dataloader mask #216

merged 2 commits into from
Oct 6, 2023

Conversation

jakobnissen
Copy link
Member

Previously, when creating the dataloader, Vamb would create a mask, signifying which contigs were unsuitable for encoding due to having no TNFs or a depth of zeros.
However, with the recent changes in commit 5c1dc3e, sequences with zero depth can be encoded just fine. And it was always unrealistic that a sequence would have zero TNFs - if it did, it was probably due to a serious user mistake. Now, do not mask sequences at all, and throw an error if a sequence has no TNFs.

Previously, when creating the dataloader, Vamb would create a mask, signifying
which contigs were unsuitable for encoding due to having no TNFs or a depth of
zeros.
However, with the recent changes in commit 5c1dc3e, sequences with zero depth
can be encoded just fine. And it was always unrealistic that a sequence would
have zero TNFs - if it did, it was probably due to a serious user mistake.
Now, do not mask sequences at all, and throw an error if a sequence has no TNFs.
@jakobnissen
Copy link
Member Author

CC @Paupiera not important ATM - I looked through the AVAMB workflow to see if this would effect anything but I couldn't find any. Nonetheless, before merging, it would be nice to check that the workflow still runs with this PR.

@jakobnissen jakobnissen merged commit 095342f into master Oct 6, 2023
4 checks passed
@jakobnissen jakobnissen deleted the no_mask branch October 6, 2023 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant